home *** CD-ROM | disk | FTP | other *** search
/ Publisher Platinum / Publisher Platinum.iso / clipart / utils / glfrnt10 / gl_front.doc next >
Encoding:
Text File  |  1993-04-30  |  6.6 KB  |  151 lines

  1.  
  2.  
  3.  
  4.                           GIFLITE Front-End
  5.  
  6.  
  7. GL_FRONT is a front-end GIF file scanning program intended for use with
  8. Tsung Hu's GIFLITE GIF compression program.  It will do a quick scan of
  9. all the GIFs in a specified directory and determine which of them do not
  10. contain the GIFLITE signature.  The names of these GIFs are written to
  11. a file that can be passed to GIFLITE.
  12.  
  13. GIFLITE is a great program and I use it all the time.  It has saved me 
  14. several hundred megabytes (not to mention close to $1000 worth) of disk 
  15. space.  GIFLITE does seem to have one small shortcoming though.  It 
  16. really doesn't handle directories with hundreds of GIFs very well.  
  17. As a programmer I can sympathize with Tsung Hu's plight in writing a 
  18. program that must deal with hundreds of thousands of bytes of GIF data 
  19. and still must be able to maintain potentially infinite lists of files.  
  20.  
  21. GL_FRONT has a big advantage in dealing with the file lists since that's 
  22. all it does.  If you have a directory with hundreds of GIFs that don't 
  23. contain the GIFLITE signature, GL_FRONT probably won't help much.  But 
  24. if you've got a directory with hundreds of GIFs, most of which have 
  25. already been processed by GIFLITE and contain the GIFLITE signature, 
  26. then GL_FRONT can give you the ability to quickly scan the directory 
  27. and create a list of just those GIFs that still need to be compressed.
  28. This list of files can then be passed to GIFLITE.
  29.  
  30. GL_FRONT accepts several parameters.  You can specify the name of 
  31. the output file with the -O parameter (e.g. -Ogiflist.out).  The
  32. O can be upper or lower case and the - can be a / if you're so 
  33. inclined.  The name of the output file can be a qualified 
  34. path/file name.  If this parameter is omitted, GL_FRONT will use the
  35. default of GIFLITE.LST in the current directory.
  36.  
  37. GL_FRONT can be used to generate a batch file that will run GIFLITE
  38. separately for each of the files found that do not contain the 
  39. GIFLITE signature.  This file will be of the form
  40.             GIFLITE <parameters> <filename>
  41. This will be repeated for each of the non-GIFLITE'd files found.
  42. This feature is enabled with the -G parameter.  GL_FRONT expects 
  43. that you will be passing some parameters to GIFLITE, so you MUST
  44. immediately follow the -G with a parameter string ENCLOSED IN
  45. QUOTES.  (e.g. GL_FRONT -G"-9 -t")  If you normally use the 
  46. GIFLITE defaults just put a space in between the quotes (e.g.
  47. GL_FRONT -G" ").  This option can be combined with the -O
  48. option above to generate a .BAT file that can be run immediately
  49. after running GL_FRONT.
  50.  
  51. GL_FRONT also provides for running other programs from a batch file
  52. in the same manner as described above for the -G option.  With the 
  53. -B option you have to specify both the command name and any parameters
  54. that need to be associated with it (e.g. GL_FRONT -B"giflite -9").
  55. Again, the parameters to the -B option MUST be enclosed in quotes.
  56.  
  57. GL_FRONT also allows the specification of the directory path to be 
  58. searched for GIFs.  To specify more than one directory path just 
  59. separate them with spaces.  You can specify as many as will fit on 
  60. the command line.  This parameter is NOT preceded by a special 
  61. designator like the others mentioned above.  If no directory path 
  62. is specified, the current directory is used.  To specify the 
  63. current directory in addition to other directories, list the 
  64. current directory as . or .\ on the command line.
  65.  
  66. In somewhat condensed form, here's the precise command format:
  67.  
  68.            GL_FRONT [options] [path | [path]]
  69.  
  70. The possible values for [options] are:
  71.  
  72.       [-Ooutfile] - This specifies the output file.
  73.  
  74.       [-G"<GIFLite Parms>"] - This indicates that GL_FRONT should
  75.       create a batch file that will run GIFLITE on each of the 
  76.       files tagged by GL_FRONT.  Parameters to GIFLITE must be
  77.       enclosed in quotes.  Even if no GIFLITE parameters are
  78.       specified, the quotes MUST be present.
  79.       
  80.       [-B"<batch cmd>"] - This indicates that GL_FRONT should 
  81.       create a batch file that will run the specified command
  82.       on each of the files tagged by GL_FRONT.  The name of 
  83.       the command and any parameters associated with it must
  84.       be enclosed in quotes.
  85.  
  86.       The -G and -B options are mutually exclusive.
  87.  
  88. GL_FRONT will print some status info to the screen as it's doing
  89. its job.  This is pretty self-explanatory.
  90.  
  91. Please note that GL_FRONT does it's thing by looking for the GIFLITE
  92. signature in the GIF file.  This means any GIF processed by GIFLITE
  93. using the -f or -h parameters will show up as not having been processed.
  94. Reprocessing the GIF will not cause any problems other than wasting
  95. time and computing resources.
  96.  
  97.  
  98.  
  99.                              Legal Stuff
  100.  
  101. Graphics Interchange Fromat and GIF are copyrighted by CompuServe 
  102.         and H&R Block Company.
  103.  
  104. GIFLITE is copyrighted by Tsung Hu.
  105.  
  106. GL_FRONT is copyrighted by Jay Heyl.
  107.  
  108.  
  109.                               License
  110.  
  111. GL_FRONT is copyrighted by the author, but no fee is charged or requested
  112. for its use in a non-commercial environment.  You are free to copy and 
  113. distribute GL_FRONT for non-commercial use if no fee is charged for use, 
  114. copying, or distribution.  Non-profit organizations may make copies and 
  115. distribute GL_FRONT to their members and may charge a small fee, not to 
  116. exceed $2 (postage not included), to cover the costs of media.  
  117. Subscription Bulletin Board Systems may post GL_FRONT for download as 
  118. long as there is no charge directly associated with the download of 
  119. GL_FRONT.  Commercial, for-profit distributors of freeware, shareware, 
  120. or public domain software may NOT charge a fee for the distribution 
  121. of GL_FRONT.
  122.  
  123. If you find a commercial use for GL_FRONT, contact the author at the
  124. BBS or P.O. Box listed below and we'll talk.
  125.  
  126.  
  127.                                Disclaimer
  128.  
  129. GL_FRONT is provided AS IS without any warranty, expressed or implied, 
  130. including, but not limited to, fitness for any purpose.  Use, and the
  131. consequences thereof, are entirely your risk.  In no event will the 
  132. author, Jay Heyl, be liable for any damages whatsoever resulting from
  133. the use of GL_FRONT.
  134.  
  135.  
  136.  
  137. If you have questions, comments, or suggestions concerning GL_FRONT, you
  138. may contact Jay Heyl at The Cookie Jar BBS, 714-997-0350.  The latest
  139. version of GL_FRONT will always be available there.  If you don't have
  140. a modem (then where'd you get all those GIFs?) or don't want to pay for
  141. the phone call, you can write me at P.O. Box 2221, Orange, CA  92669.
  142.  
  143.  
  144. Revision History
  145.  
  146. Version 1.0  09/15/91  - Initial release.
  147.  
  148. Version 1.01 09/20/91  - Added -G and -B parameters.
  149.  
  150.  
  151.